package org.pet.service;

import org.pet.entity.PetVariety;
import org.pet.util.Result;

public interface PetVarietyService {

    Result list();
    Result subList(Integer id);
    String getVariety(String category);
    Integer getVarietyId(String variety);
    Result insert(PetVariety petVariety);
    Result subInsert(String variety, String category, String pic);
    Result delete(Integer id);
    Result subDelete(Integer id);
    Result update(PetVariety petVariety);
    Result subUpdate(Integer id, String variety, String category, String pic);

    Result searchList(String search);

    Result searchNotExit();
}
